package cn.com.Kol.initiative.controller;

import cn.com.Kol.initiative.common.Result;
import cn.com.Kol.initiative.common.ResultGenerator;
import cn.com.Kol.initiative.service.InitiativeService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
@RequestMapping("initiative")
public class InitiativeController {
    @Resource
    private InitiativeService initiativeService;

    @RequestMapping("initArea")
    @ResponseBody
    public Result initArea(){
        System.out.println("可以收到，吗");
        return ResultGenerator.genFailResult("");
    }

}
